<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <script type="text/javascript" src="../js/yhang.js">
        </script>
        <title>yhang.each</title>
    </head>
    <body>
        <script type="text/javascript">
        	var a = [1,2,3,4];
			alert(yhang.getArray(a, function(k, v){
				if(k>1) return v*v;
			}));
        </script>
    </body>
</html>
